home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mission 3
/
Mission 3.zip
/
Mission 3.iso
/
zugabe
/
va45
/
visual45
/
lib_cte.s
< prev
next >
Wrap
Text File
|
1998-01-30
|
5KB
|
143 lines
;-------------------------------------------------------------------------
; Bits XHDI (device flags)
XH_TARGET_STOPPABLE = 0
XH_TARGET_REMOVABLE = 1
XH_TARGET_LOCKABLE = 2
XH_TARGET_EJECTABLE = 3
XH_TARGET_LOCKED = 29
XH_TARGET_STOPPED = 30
XH_TARGET_RESERVED = 31
;-------------------------------------------------------------------------
; Librairie de threads fenêtre
GWVA_ERROR_WIND_THREAD_NO_MORE_HANDLE = -1 ; pour create
GWVA_ERROR_WIND_THREAD_ALREADY_EXIST = -2 ; pour create
GWVA_ERROR_WIND_THREAD_DOESNOT_EXIST = -3 ; pour delete
GWVA_ERROR_WIND_THREAD_BAD_PARAMS = -4 ; pour create/delete
GWVA_WIND_THREAD_FLAG_BIT_REAL_TIME = 0 ; appli temps réel : vérifie à chaque timer
;-------------------------------------------------------------------------
; Variables Documentées GEM/AES/Autre
;-------------------------------------------------------------------------
;ACC_ID = $400
;ACC_OPEN = $401
;ACC_CLOSE = $402
;ACC_ACC = $403
AV_PROTOKOLL = $4700
VA_PROTOSTATUS = $4701
AV_GETSTATUS = $4703
AV_STATUS = $4704
VA_SETSTATUS = $4705
AV_SENDKEY = $4710
VA_START = $4711
AV_ASKFILEFONT = $4712
VA_FILEFONT = $4713
AV_ASKCONFONT = $4714
VA_CONFONT = $4715
AV_ASKOBJECT = $4716
VA_OBJECT = $4717
AV_OPENCONSOLE = $4718
VA_CONSOLEOPEN = $4719
AV_OPENWIND = $4720
VA_WINDOPEN = $4721
AV_STARTPROG = $4722
VA_PROGSTART = $4723
AV_ACCWINDOPEN = $4724
VA_DRAGACCWIND = $4725
AV_ACCWINDCLOSED = $4726
AV_COPY_DRAGGED = $4728
VA_COPY_COMPLETE = $4729
AV_PATH_UPDATE = $4730
AV_WHAT_IZIT = $4732
VA_THAT_IZIT = $4733
AV_DRAG_ON_WINDOW = $4734
AV_EXIT = $4736
VA_OB_UNKNOWN = 0
VA_OB_TRASHCAN = 1
VA_OB_SHREDDER = 2
VA_OB_CLIPBOARD = 3
VA_OB_FILE = 4
VA_OB_FOLDER = 5
VA_OB_DRIVE = 6
VA_OB_WINDOW = 7
;-------------------------------------------------------------------------
*
* TCP connection states
*
STIK_TCLOSED = 0 * No connection. Null, void, absent, ... *
STIK_TLISTEN = 1 * Wait for remote request *
STIK_TSYN_SENT = 2 * Connect request sent. Await matching request *
STIK_TSYN_RECV = 3 * Wait for connection ACK. (Listener only ??) *
STIK_TESTABLISH = 4 * Connection is established. Handshake completed *
STIK_TFIN_WAIT1 = 5 * Await termination request or acknowledgement *
STIK_TFIN_WAIT2 = 6 * Await termination request *
STIK_TCLOSE_WAIT = 7 * Await termination request from local user *
STIK_TCLOSING = 8 * Await termination acknowledge from remote TCP *
STIK_TLAST_ACK = 9 * Await acknowledgement of terminate request sent *
STIK_TTIME_WAIT = 10 * Delay to ensure remote has received term' ACK *
*
* Error return values
*
STIK_E_NORMAL = 0 * No error occured ... *
STIK_E_OBUFFULL = -1 * Output buffer is full *
STIK_E_NODATA = -2 * No data available *
STIK_E_EOF = -3 * EOF from remote *
STIK_E_RRESET = -4 * RST received from remote *
STIK_E_UA = -5 * RST. Other end sent unacceptable pkt *
STIK_E_NOMEM = -6 * Something failed due to lack of memory *
STIK_E_REFUSE = -7 * Connection refused by remote *
STIK_E_BADSYN = -8 * A SYN was received in the window *
STIK_E_BADHANDLE = -9 * Bad connection handle used. *
STIK_E_LISTEN = -10 * The connection is in LISTEN state *
STIK_E_NOCCB = -11 * No free CCB's available *
STIK_E_NOCONNECTION = -12 * No connection matches this packet (TCP) *
STIK_E_CONNECTFAIL = -13 * Failure to connect to remote port (TCP) *
STIK_E_BADCLOSE = -14 * Invalid TCP_close() requested *
STIK_E_USERTIMEOUT = -15 * A user function timed out *
STIK_E_CNTIMEOUT = -16 * A the connection timed out *
STIK_E_CANTRESOLVE = -17 * Can't resolve the hostname *
STIK_E_BADDNAME = -18 * Domain name or dotted dec. bad format *
STIK_E_LOSTCARRIER = -19 * The modem disconnected *
STIK_E_NOHOSTNAME = -20 * Hostname does not exist *
STIK_E_DNSWORKLIMIT = -21 * Resolver Work limit reached *
STIK_E_NONAMESERVER = -22 * No nameservers could be found for query *
STIK_E_DNSBADFORMAT = -23 * Bad format of DS query *
STIK_E_UNREACHABLE = -24 * Destination unreachable *
STIK_E_DNSNOADDR = -25 * No address records exist for host *
STIK_E_NOROUTINE = -26 * Routine unavailable *
STIK_E_LOCKED = -27 * Locked by another application *
STIK_E_FRAGMENT = -28 * Error during fragmentation *
STIK_E_TTLEXCEED = -29 * Time To Live of an IP packet exceeded *
STIK_E_PARAMETER = -30 * Problem with a parameter *
STIK_E_BIGBUF = -31 * Input buffer is too small for data *
STIK_E_LASTERROR = 31 * ABS of last error code in this list *
*
* FLagbox Flag definitions (max 64 flags ...)
*
STIK_FL_do_resolve = 0
STIK_FL_housekeep = 1
STIK_FL_slipin = 2
STIK_FL_slipout = 3
STIK_FL_tcp_timer = 4
STIK_FL_frag_ttl_check = 5
STIK_FL_g_resv = 6
STIK_FL_g_wait = 7
*
* Values for protocol field
*
STIK_P_ICMP = 1 * IP assigned number for ICMP *
STIK_P_TCP = 6 * IP assigned number for TCP *
STIK_P_UDP = 17 * IP assigned number for UDP *